package com.my.service;

import java.util.List;


import com.my.entity.LeaveBill;
import com.my.entity.Page;
import com.my.entity.ResponseData;
import com.my.entity.vo.LeaveBillVo;

public interface LeaveBillService {
	int deleteByPrimaryKey(Long id);

	int insertSelective(LeaveBill record);

	LeaveBill selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(LeaveBill record);
	

	List<LeaveBillVo> queryByUserId(Long id);

	ResponseData<LeaveBillVo> queryByUserIdForPage(Long userId, Page page,
			String leaveDate, String empName);

	int countQueryByUserIdForPage(Long userId, String leaveDate, String empName);
	
	LeaveBillVo selectByPrimaryKeyVo(Long id);
}
